function pobierz(id)
{
  if(id != 1 && id != 2){
    alert("Nieprawidłowy numer zestawu danych.");
    return;
  }
  url = "http://localhost/dane.php?zestaw=" + id;
  startGETRequest(url, onComplete, onEnd);
}